.modal-content {
  display: flex;
  align-items:center;/*垂直居中*/
  justify-content: center;/*水平居中*/
  margin: auto;
  width: 90%;
  height: 75%;
  font-size: 1.2rem;
}